package arrays;

import java.util.Arrays;

public class TestArray {
    public static void main(String[] args) {
        String[] str = new String[]{"a", "g", "s", "c", "t"};
        Arrays.sort(str);
        for (int i=0; i<5; i++) {
            System.out.println(str[i]);
        }
    }
}


